# Maintainer:
pkgname=sndfile-tools
pkgver=1.5
pkgrel=1
pkgdesc="Collection of tools to do interesting things with sound files"
url="https://libsndfile.github.io/sndfile-tools/"
arch="all"
license="GPL-2.0-or-later OR GPL-3.0-or-later"
makedepends="
	cairo-dev
	fftw-dev
	jack-dev
	libsamplerate-dev
	libsndfile-dev
	"
checkdepends="bash"
subpackages="$pkgname-doc"
source="https://github.com/libsndfile/sndfile-tools/releases/download/$pkgver/sndfile-tools-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
04926a6c489634762efaa787e468ab653990762d5b96ba3cdfca595102c1d5eeb86411c9010d5640b1b3ec2b38d8d9d434fb549c52446e4b88d5b2a1d06a2bc6  sndfile-tools-1.5.tar.bz2
"
